import { ElButton } from "element-plus";
import { defineComponent, ref } from "vue";

export default defineComponent({
  setup() {
    let count = ref(0);

    let butClick = () => {
      count.value = count.value + 1;
    };

    return () => <ElButton onClick={butClick}>Count {count.value}</ElButton>;
  },
});
